﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.GetData;
using TyMES.Model;

namespace TyMES.ViewModel.GetData.BadCodeTemplateVMs
{
    public partial class BadCodeTemplateTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._BadCodeTemplate._addTime")]
        public ExcelPropety AddTime_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.AddTime, true);
        [Display(Name = "_Model._BadCodeTemplate._badCode")]
        public ExcelPropety BadCode_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.BadCode);
        [Display(Name = "_Model._BadCodeTemplate._badName")]
        public ExcelPropety BadName_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.BadName);
        [Display(Name = "_Model._BadCodeTemplate._badTypeCode")]
        public ExcelPropety BadTypeCode_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.BadTypeCode);
        [Display(Name = "_Model._BadCodeTemplate._badTypeName")]
        public ExcelPropety BadTypeName_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.BadTypeName);
        [Display(Name = "_Model._BadCodeTemplate._dataStatus")]
        public ExcelPropety DataStatus_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.DataStatus);
        [Display(Name = "_Model._BadCodeTemplate._editTime")]
        public ExcelPropety EditTime_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.EditTime, true);
        [Display(Name = "_Model._BadCodeTemplate._enableStatus")]
        public ExcelPropety EnableStatus_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.EnableStatus);
        [Display(Name = "_Model._BadCodeTemplate._factoryCode")]
        public ExcelPropety FactoryCode_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.FactoryCode);
        [Display(Name = "_Model._BadCodeTemplate._field1")]
        public ExcelPropety Field1_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.Field1);
        [Display(Name = "_Model._BadCodeTemplate._field2")]
        public ExcelPropety Field2_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.Field2);
        [Display(Name = "_Model._BadCodeTemplate._field3")]
        public ExcelPropety Field3_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.Field3);
        [Display(Name = "_Model._BadCodeTemplate._field4")]
        public ExcelPropety Field4_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.Field4);
        [Display(Name = "_Model._BadCodeTemplate._field5")]
        public ExcelPropety Field5_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.Field5);
        [Display(Name = "_Model._BadCodeTemplate._operationCode")]
        public ExcelPropety OperationCode_Excel = ExcelPropety.CreateProperty<BadCodeTemplate>(x => x.OperationCode);

	    protected override void InitVM()
        {
            
        }

    }

    public class BadCodeTemplateImportVM : BaseImportVM<BadCodeTemplateTemplateVM, BadCodeTemplate>
    {
            //import

    }

}